<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <script>
        //console.log("****")
		var result="";
		for(var i=0;i<5;i++){//打印5行*   -----控制行
			for(var j=0;j<4;j++){//打印每一行的4个*  ----控制每行里面的具体内容
				result+="*"
			}
			result+="\n";
		}
		console.log(result);
    </script>
     
</body>

</html>